using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace MobileWebsiteGenerator.Entities
{
    public class Page
    {
        public Page()
        {
            this.ThemePageRELs = new List<ThemePageREL>();
        }

        public int page_id { get; set; }

        public string title { get; set; }
        public string BackgroundImage { get; set; }
        public string Priority { get; set; }
        public string HTitle { get; set; }
        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string EContent { get; set; }
        [UIHint("tinymce_jquery_full"), AllowHtml]
        public string HContent { get; set; }
        public virtual ICollection<ThemePageREL> ThemePageRELs { get; set; }
    }
}

